package com.huige.service.impl;

import com.huige.mapper.EmployeeMapper;
import com.huige.pojo.Employee;
import com.huige.service.EmployeeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author 朱志辉
 * @Create 2024/7/20 下午11:24
 * @Version 1.0
 * Description:
 */
@Service
public class EmployeeServiceImpl implements EmployeeService {

    @Autowired
    private EmployeeMapper employeeMapper;

    @Override
    public List<Employee> findAll() {
        List<Employee> list = employeeMapper.queryList();
        return list;
    }
}
